package com.grad.webstudy.dto;

/**
 * @Description: 重置密码所需要的传输对象
 * @Author: zjf
 * @Date: 2020/1/27 14:34.
 */
public class ResetPasswordDto {

    String phone;//所需重置的用户的电话号码

    Integer userId; //所需要重置的userId

    String oldPassword; //旧密码

    String newPassword; //新密码

    String validCode; //验证码


    @Override
    public String toString() {
        return "ResetPasswordDto{" +
                "phone='" + phone + '\'' +
                ", userId=" + userId +
                ", oldPassword='" + oldPassword + '\'' +
                ", newPassword='" + newPassword + '\'' +
                ", validCode='" + validCode + '\'' +
                '}';
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getValidCode() {
        return validCode;
    }

    public void setValidCode(String validCode) {
        this.validCode = validCode;
    }
}
